<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <title>v-cloak</title>
</head>
<body>
    <div id="app" v-cloak>
        <div>
            {{message}}
        </div>

    </div>
</body>
<script>
// v-cloak是用来保持在元素上直到关联实例结束时进行编译。
    var app = new Vue({
        el:'#app',
        data:{
            message:"hello world!"
        }
    })
</script>
</html>